package router

import (
	v1 "gin-wave-im/controller/v1"
	"github.com/gin-gonic/gin"
)

func InitCommunityRouter(communityGroup *gin.RouterGroup) {
	communityGroup.POST("", v1.CreateCommunity)
	communityGroup.GET("", v1.CommunityInfo)
	communityGroup.POST("/join", v1.JoinCommunity)
	communityGroup.GET("/list", v1.CommunityList)
	communityGroup.GET("/members", v1.MemberList)
}